package com.scada.hessian.client.impl;

import com.scada.inf.LectureInfoVisitor;
import com.scada.model.bean.LectureInfo;
import com.scada.model.result.ResponseBean;
import com.scada.model.search.LectureInfoSearch;
import com.scada.wechat.hessian.client.BaseClient;
import com.scada.wechat.hessian.client.annotation.HessianNamespace;

@HessianNamespace("lectureInfoVisitorService")
public class LectureInfoVisitorClient extends BaseClient<LectureInfoVisitor> implements LectureInfoVisitor{

	@Override
	public void deleteLectureInfoById(String isShow, String ids) {
		
		getVistor().deleteLectureInfoById(isShow, ids);
	}

	@Override
	public ResponseBean insertLectureInfo(LectureInfo lectureInfo) {
		
		return getVistor().insertLectureInfo(lectureInfo);
	}

	@Override
	public ResponseBean getLectureInfoById(Long id) {
		
		return getVistor().getLectureInfoById(id);
	}

	@Override
	public ResponseBean updateLectureInfo(LectureInfo lectureInfo) {
		
		return getVistor().updateLectureInfo(lectureInfo);
	}

	@Override
	public ResponseBean getLectureInfoPageData(LectureInfoSearch lectureInfoSearch) {
		
		return getVistor().getLectureInfoPageData(lectureInfoSearch);
	}

	@Override
	public ResponseBean validateNumRepeat(String lectureNum, Long id) {
		
		return getVistor().validateNumRepeat(lectureNum, id);
	}

}
